package com.oceansoft.mobile.common.base.entity;

import java.sql.ResultSet;
import java.sql.SQLException;

import org.springframework.jdbc.core.RowMapper;
/**
 * 下拉列表
 * @author sgq
 *
 */
public class SelectBox {
	private long sid;
	private String type;
	private String type_text;
	private String description;
	
	public static RowMapper<SelectBox> getRowMapper() {
        return new RowMapper<SelectBox>() {
            public SelectBox mapRow(ResultSet rs, int rowNum) throws SQLException {
            	SelectBox obj = new SelectBox();
            	obj.setSid(rs.getLong("sid"));
                obj.setType(rs.getString("type"));
                obj.setType_text(rs.getString("type_text"));
                obj.setDescription(rs.getString("description"));
                return obj;
            }
        };
    }	
	public long getSid() {
		return sid;
	}
	public void setSid(long sid) {
		this.sid = sid;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getType_text() {
		return type_text;
	}
	public void setType_text(String type_text) {
		this.type_text = type_text;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
}
